Skip to main content

Binary Operations

Hissab supports the following binary operations.

OperatorExample
~
Bitwise Not
&
Bitwise AND
|
Bitwise OR
xor
Bitwise XOR
>>
Bitwise right shift
<<
Bitwise left shift

Binary operations can be performed not just on binary numbers but with any number system.